package com.lovo.psc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author lovo
 * @since 2022-07-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("psc_triumph")
public class Triumph extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "PK_triumphId", type = IdType.AUTO)
    private Integer pkTriumphid;

    @TableField("triumphNumber")
    private String triumphnumber;

    @TableField("fk_supplierNumber")
    private Integer fkSuppliernumber;

    @TableField("supplierName")
    private String suppliername;

    @TableField("commodityName")
    private String commodityname;

    private Integer price;

    @TableField("commodityNum")
    private Integer commoditynum;

    @TableField("commoditySize")
    private String commoditysize;

    private String commoditysort;

    @TableField("markDate")
    private String markdate = LocalDate.now()+"";


}
